package org.jdcenter.rmi.impl;

import java.rmi.*;

import org.jdcenter.rmi.abs.*;

public interface RpcChannel extends Remote {
    int advise(RpcHandler handler, int cookie) throws RemoteException, HandlerResumeException;
    Object lookup()throws RemoteException;
    void unadvise(int cookie) throws RemoteException;
    void tick() throws RemoteException;
    Object invoke(int cookie,String method,Object[] args) throws RemoteException, HandlerException, HandlerInvalidException, HandlerRejectedException;
}

